package com.shop.milk_tea_shop.service;

import com.shop.milk_tea_shop.common.Result;
import com.shop.milk_tea_shop.entity.ItemAdd;
import com.shop.milk_tea_shop.entity.ItemAddCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.milk_tea_shop.request.ItemAddsQueryRequest;

import java.util.List;

/**
 * <p>
 * 商品附加信息分类表：	商品的附加信息，温度、甜度、小料等 服务类
 * </p>
 *
 * @author yjw
 * @since 2024-06-16
 */
public interface ItemAddCategoryService extends IService<ItemAddCategory> {

    List<ItemAddCategory> getMenu(ItemAddsQueryRequest request);

    Result<Boolean> deleteCategoryAndAdds(Long addCategoryId);

    Result<Boolean> insertCategoryAndAddInfo(ItemAddCategory itemAddCategory, ItemAdd itemAdd);
}
